package com.qianyitian.hope2.spider.fetcher;


import com.qianyitian.hope2.spider.model.Stock;

import java.io.IOException;
import java.text.MessageFormat;
import java.util.List;

public interface IStockRetreiver {
    List<Stock> getAllStockSymbols() throws IOException;

    List<Stock> getAStockSymbols() throws IOException;

    List<Stock> getUSStockSymbols() throws IOException;

    List<Stock> getBase800StockSymbols() throws IOException;

    List<Stock> getHKStockSymbols() throws IOException;

    List<Stock> getFundsSymbols() throws IOException;

    List<Stock> getIndexSymbols() throws IOException;

    Stock fetchStockInfo(Stock code) throws IOException;

    Stock fetchIndexInfo(Stock code) throws IOException;

    String fetchFundsInfo(String code) throws IOException;

    List<Stock> getETFSymbols() throws IOException;
}